]> dgit.raspbian.org Git - gnome-shell.git/commit
extensions-app: Add compat code for older shell versions
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 19 Dec 2023 23:17:29 +0000 (00:17 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 3 Jan 2024 20:05:05 +0000 (20:05 +0000)
commit7a9bfa27445ce5fef29ec44ab04ea315ca3fda15
treee9f26501e44a6c95e67cb1790f1bf46bf8f4683f
parentfec523f83fa6ee0b9059deb0883fd3113899442f
extensions-app: Add compat code for older shell versions

The Extensions app is also distributed as flatpak, so we cannot
assume that its version matches the shell. In order to not show
all extensions as disabled when running under a shell version that
doesn't include the `enabled` property yet, add a fallback based
on the current state.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7004

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3073>
subprojects/extensions-app/js/extensionManager.js